﻿import React from 'react';
import { Card, Button, message } from 'antd';

export default function Index() {
  return (
    <Card title="Index">
      <p>Welcome to React Admin.</p>
      <Button type="primary" onClick={() => message.success('Antd Button works!')}>Test Antd</Button>
    </Card>
  );
}
